Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate react-without-jsx #86

Merged
merged 7 commits into from
Apr 7, 2019
Merged

Conversation

shiincs
Copy link
Contributor

@shiincs shiincs commented Apr 1, 2019

@netlify
Copy link

netlify bot commented Apr 1, 2019

Deploy preview for ko-reactjs-org ready!

Built with commit 9ef3089

https://deploy-preview-86--ko-reactjs-org.netlify.com

permalink: docs/react-without-jsx.html
---

JSX is not a requirement for using React. Using React without JSX is especially convenient when you don't want to set up compilation in your build environment.
React를 사용할 때 JSX는 필수사항이 아닙니다. 빌드 환경에서 컴파일 설정을 하고 싶지 않을 때 JSX 없이 React를 사용하면 편리합니다.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"필수사항이 아닙니다." -> "필수가 아닙니다." 로 제안드려요~

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"사용하면 편리합니다." -> "사용하는 것은 특히 편리합니다." 로 제안 드려요.


Each JSX element is just syntactic sugar for calling `React.createElement(component, props, ...children)`. So, anything you can do with JSX can also be done with just plain JavaScript.
JSX 엘리먼트는 `React.createElement(component, props, ...children)`를 호출하기 위한 문법 설탕입니다. 그래서 JSX로 할 수 있는 모든 것은 순수 JavaScript에서도 할 수 있습니다.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"JavaScript에서도" -> "JavaScript로도" 로 제안드려요.

If you use this shorthand form for `React.createElement`, it can be almost as convenient to use React without JSX.

Alternatively, you can refer to community projects such as [`react-hyperscript`](https://github.com/mlmorg/react-hyperscript) and [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) which offer a terser syntax.
`React.createElement`를 단축 폼으로 할당하면 편리하게 JSX 없이 React를 사용할 수 있습니다.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"단축 폼으로" -> "짧은 변수에" 는 어떨까요?

@shiincs
Copy link
Contributor Author

shiincs commented Apr 4, 2019

꼼꼼하게 검토해주셔서 감사합니다 :) 말씀해주신 부분 모두 수정 반영했습니다!

Copy link
Collaborator

@simsim0709 simsim0709 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다~ 👍
그리고 마크다운에 Javascript로 되어 있는부분은 제가 js로 수정했어요~

@taehwanno taehwanno merged commit 01d7b74 into reactjs:master Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants